
#ifndef LOG_H_
#define LOG_H_

#include "IncludesServidor.h"
#include "ThreadMutex.h"

using namespace std;


class Log {
private:
	static Log* Instance_id;
	ofstream fs;
	ThreadMutex *mutex;
	Log();
	string tiempo();
public:
	static Log* Instance();
	void openLog(string logFile);
	void logear(string datos);
	void closeLog();
};

#endif /* LOG_H_ */
